<?php
use LSYS\Area;
use LSYS\Area\CN;
use LSYS\APIServer\Param;
use LSYS\APIServer\ResultSucc;
include_once __DIR__."/Bootstarp.php";
$area=Area::instance();
//地址联动
$param=Param::factory($_GET);
$code=$param->get("code",CN::$china_code,Param::TYPE_STRING_TRIM);
$data=$area->childs($code);
out_json(ResultSucc::factory($data));
